package Computer.Event;
import Computer.Main.*;

public class Mul extends Arithmetic {

	
	public Mul(Pointer ptr1, Pointer ptr2, Address addr) {
		super(ptr1, ptr2, addr);
	}

	@Override
	public void operation(Memory memory) {
		memory.set(addr, ptr1.getWord(memory).mul(ptr2.getWord(memory)));
		
	}

	@Override
	public String name() {
		return "MUL ";
	}
	

}
